<?php

	/***********************************************\
	 * N2F Yverdon v0                              *
	 * Copyright (c) 2009 Zibings Incorporated     *
	 *                                             *
	 * You should have received a copy of the      *
	 * Microsoft Reciprocal License along with     *
	 * this program.  If not, see:                 *
	 * <http://opensource.org/licenses/ms-rl.html> *
	\***********************************************/

	/*
	 * $Id: config.inc.php 105 2010-07-10 10:06:40Z amale $
	 */

	// Declare global configuration variable
	global $cfg; $cfg = array();


	######################################
	## Basic Framework Configuration    ##
	######################################

	// Site configuration
	$cfg['site']['domain']		= '';				# Domain name for your site (ex: n2framework.com)
	$cfg['site']['title']		= '';				# Default title for your site (ex: The N2 Framework)
	$cfg['site']['timezone']		= 'America/New_York';	# Your server's timezone name (see: http://www.php.net/manual/en/timezones.php)

	// Debug level configuration
	$cfg['dbg']['level']		= N2F_DEBUG_NOTICE;		# Current debug level used by core
	$cfg['dbg']['dump_debug']	= false;				# Whether or not to dump all debug information at the end of each page load

	######################################
	## Basic Framework Configuration    ##
	######################################





	######################################
	## Extension Configuration          ##
	######################################

	// Cache configuration
	$cfg['cache']['dir']		= './n2f_cache/';		# Cache File Directory (Must be writeable; Will be created automatically if it doesn't exist)
	$cfg['cache']['prefix']		= '';				# Cache File Prefix
	$cfg['cache']['ext']		= '.cache';			# Cache File Extension
	$cfg['cache']['ttl']		= 3600;				# Default amount of time before cache expires  (in seconds, 3600 = 1 hour)
	$cfg['cache']['gc'] 		= true;				# Clean up old cache files occasionally
	$cfg['cache']['memcached'] 	= false;				# Use MemCache by default
	$cfg['cache']['mc_persist']	= true;				# Use persistent Memcache connections
	$cfg['cache']['mc_compress']	= true;				# Use compression for MemCache (requires that zlib be installed)
	$cfg['cache']['mc_threshold']	= 15000;				# String length required before using compression in MemCache
	$cfg['cache']['mc_savings']	= 0.2;				# Minimum savings required to actually store the value compressed in MemCache (value between 0 an 1,  0.2 = 20%)
	$cfg['cache']['mc_servers']	= array(				# MemCache Servers - format:  'server:port' => 'weight'
		'localhost:11211' => '64'
	);

	// Session configuration
	$cfg['sess']['name']		= 'n2f_session';		# String to use for named session

	######################################
	## Extension Configuration          ##
	######################################





	######################################
	## Advanced Framework Configuration ##
	######################################

	$cfg['sys_lang']			= 'en';				# System language
	$cfg['charset']			= 'utf-8';			# System charset
	$cfg['content_type']		= 'text/html';			# System content-type
	$cfg['auto_exts']			= array(				# Extensions to be auto-included
		'cache',
		'firephp',
		'paginate',
		'return',
		'session',
		'user',
		'n2f_template',
		'n2f_database'
	);
	$cfg['file_struct']			= N2F_FS_CURRENT;		# File structure to follow
	$cfg['crypt_hash']			= 'e-8J(@Tm"/=7{c"r+!LwAjT}>Nx7QcB+Lr}Zt53FvnO_;*<}dWe_}3P/t,-ND")';	# Security hash for encryption
	$cfg['def_mods']['start']	= 'main';				# Default starting module
	$cfg['def_mods']['error']	= 'error';			# Default error module

	######################################
	## Advanced Framework Configuration ##
	######################################

?>